package com.bjpower.springboot.bean;

import java.sql.Date;

/**
 * @Author: yg
 * @create 2025-01-24 - 16:30
 * @
 */
public class Employee {
    //    employee_id, first_name, last_name,eamil,
    //    phone_number, hire_date, job_id, salary,
    //    commission_pct, manager_id, department_id
    private int employee_id;
    private String first_name;
    private String email;
    private Date hire_date;
    private Double salary;

    public Employee(int employee_id, String first_name, String email, Date hire_date, Double salary) {
        this.employee_id = employee_id;
        this.first_name = first_name;
        this.email = email;
        this.hire_date = hire_date;
        this.salary = salary;
    }

    public int getEmployee_id() {
        return employee_id;
    }

    public void setEmployee_id(int employee_id) {
        this.employee_id = employee_id;
    }

    public String getFirst_name() {
        return first_name;
    }

    public void setFirst_name(String first_name) {
        this.first_name = first_name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Date getHire_date() {
        return hire_date;
    }

    public void setHire_date(Date hire_date) {
        this.hire_date = hire_date;
    }

    public Double getSalary() {
        return salary;
    }

    public void setSalary(Double salary) {
        this.salary = salary;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "employee_id=" + employee_id +
                ", first_name='" + first_name + '\'' +
                ", email='" + email + '\'' +
                ", hire_date=" + hire_date +
                ", salary=" + salary +
                '}';
    }

    public Employee() {
    }
}
